package com.example.sunjian.myapplication;


/**
 * 作者：sunjian on 16/5/15 20:24
 * 邮箱：sunjian@cyhz.com
 */
public class BindListener {

    private static BindListener mListener;
    private TestListener mTestListener;

    private BindListener(){

    }

    public static BindListener getInstance(){
        if(mListener==null){
            mListener = new BindListener();
        }

        return mListener;
    }


    public void setListener(TestListener listener){
        mTestListener = listener;
    }


    public TestListener getListener(){

        return mTestListener;
    }

    public void print(){
        mTestListener.print();
    }


}
